package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineDailyStat
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/8/5 11:47
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "查询账号日流水的返回参数")
public class OceanengineDailyStat {
    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "查询账号日流水的返回参数")
    public static class DataBean {

        private List<DataBeanList> list;
        private PageInfo page_info;

        @NoArgsConstructor
        @Data
        @ApiModel(value = "查询账号日流水的返回参数-分页信息")
        public static class PageInfo {
            @ApiModelProperty(value = "页数")
            private Long page;
            @ApiModelProperty(value = "页面大小")
            private Long page_size;
            @ApiModelProperty(value = "总数")
            private Long total_number;
            @ApiModelProperty(value = "总页数")
            private Long total_page;
        }

        @NoArgsConstructor
        @Data
        @ApiModel(value = "查询账号日流水的返回参数-集合")
        public static class DataBeanList {

            @ApiModelProperty(value = "广告主ID")
            private Long advertiser_id;
            @ApiModelProperty(value = "日期")
            private String date;
            @ApiModelProperty(value = "日终结余(单位元）")
            private Double balance;
            @ApiModelProperty(value = "现金支出(单位元）")
            private Double cash_cost;
            @ApiModelProperty(value = "总支出(单位元）")
            private Double cost;
            @ApiModelProperty(value = "冻结(单位元）")
            private Double frozen;
            @ApiModelProperty(value = "总存入(单位元）")
            private Double income;
            @ApiModelProperty(value = "赠款支出(单位元）")
            private Double reward_cost;
            @ApiModelProperty(value = "返货支出(单位元）")
            private Double return_goods_cost;
            @ApiModelProperty(value = "总转入(单位元）")
            private Double transfer_in;
            @ApiModelProperty(value = "总转出(单位元）")
            private Double transfer_out;
        }
    }
}
